wipe
model basic -ndm 2 -ndf 2

# 2x2网格测试
node 1 0 0
node 2 1 0
node 3 0 1
node 4 1 1

fix 1 1 1
fix 2 1 1

nDMaterial ElasticIsotropic 1 30000 0.2
element quad 1 1 2 4 3 1.0 PlaneStrain 1

pattern Plain 1 Linear {
    load 4 0.0 -10.0
}

system GPUSolver
constraints Plain
numberer Plain
test NormDispIncr 1.0e-6 5
algorithm Newton
integrator LoadControl 1.0
analysis Static

puts "\n========== 开始分析 =========="
puts "观察GPU/CPU调用顺序..."
analyze 1
puts "========== 分析完成 ==========\n"
